package com.lvyq.qrobot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lvyq.qrobot.entity.SysProp;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface SysPropMapper extends BaseMapper<SysProp> {

    @Select("select * from sys_prop where type = #{type}")
    List<SysProp> getInfoByType(@Param("type") Integer type);
}
